package com.xmall.auth.define.dict;

import com.xmall.annotation.Dict;

/**
 * 账户类型：auth - account - type
 */
@Dict
public enum AccountTypeEnum {

    PHONE("手机号", 0), WEIXIN("微信", 1);

    private String name;

    private Integer type;

    AccountTypeEnum(String name, Integer type) {
        this.name = name;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }
}
